package yongxin.service.impl.matchinegroup;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import yongxin.entity.matchinegroup.MatchinegroupEntity;
import yongxin.service.matchinegroup.MatchinegroupServiceI;
import org.jeecgframework.core.common.service.impl.CommonServiceImpl;
import org.jeecgframework.web.system.service.SystemService;

@Service("matchinegroupService")
@Transactional
public class MatchinegroupServiceImpl extends CommonServiceImpl implements MatchinegroupServiceI {
	
	@Autowired
	private SystemService systemService; 
	
	/*
	 * 
	 * 查找机组列表
	 * 
	 */
	public List<MatchinegroupEntity>  findMatchinegroupList(String id){
		
		String hql = " from MatchinegroupEntity m where m.name = ?";
		
		List<MatchinegroupEntity> matchinegroupList = systemService.findHql(hql, id);
		
		return matchinegroupList;
		
	}
}